package com.pzr.soccer.service;

import java.time.LocalDate;
import java.util.Map;

import com.pzr.soccer.model.Role;
import com.pzr.soccer.model.User;

public interface UserService {
	
	boolean addRole(String userId,Role role);
	boolean changeRoleExpired(String userId,String roleName,LocalDate expired);
	boolean removeRole(String userId,String roleName);
	User updateUser(String userId, Map<String,Object> map) throws NoSuchFieldException;
}
